.error-page-container {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background-color: #F5F0EB;
  position: relative;
  overflow: hidden;
}

/* 背景装饰图案 */
.error-bg-pattern {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-image: 
    radial-gradient(#8b451310 1px, transparent 1px),
    radial-gradient(#8b451310 1px, transparent 1px);
  background-size: 40px 40px;
  background-position: 0 0, 20px 20px;
  z-index: 1;
}

/* 错误卡片 */
.error-card {
  background-color: #fff;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  padding: 40px 30px;
  width: 100%;
  max-width: 420px;
  text-align: center;
  position: relative;
  z-index: 2;
  transform: translateY(0);
  animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* 错误图标 */
.error-icon-wrapper {
  width: 80px;
  height: 80px;
  margin: 0 auto 25px;
  background-color: #fff0f0;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.error-icon {
  font-size: 40px;
  color: #8b4513;
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

/* 错误文字 */
.error-title {
  font-size: 24px;
  font-weight: 600;
  color: #333;
  margin: 0 0 15px;
}

.error-message {
  font-size: 16px;
  color: #666;
  margin: 0 0 30px;
  line-height: 1.5;
}

/* 操作按钮 */
.error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.error-btn {
  padding: 12px 24px;
  font-size: 16px;
  border-radius: 8px;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-icon {
  font-size: 18px;
  padding-right: 8px;
}

.reload-btn {
  background-color: #8b4513;
  color: white;
  border: none;
}

.reload-btn:hover {
  background-color: #6a3418;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.3);
}

.home-btn {
  background-color: white;
  color: #8b4513;
  border: 1px solid #8b4513;
}

.home-btn:hover {
  background-color: #f9f5f1;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(139, 69, 19, 0.15);
}

/* 底部提示 */
.error-footer {
  margin-top: 30px;
  color: #999;
  font-size: 14px;
  position: relative;
  z-index: 2;
}

/* 响应式调整 */
@media (max-width: 480px) {
  .error-card {
    padding: 30px 20px;
  }
  
  .error-actions {
    flex-direction: column;
    gap: 10px;
  }
  
  .error-btn {
    width: 100%;
    justify-content: center;
  }
}
